<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>大窗口|/web/html/client-safeBox.html</title>
    <link rel="stylesheet" type="text/css" href="/static/css/basic.css">
    <link rel="stylesheet" type="text/css" href="/static/css/ui.css">
    <link rel="stylesheet" type="text/css" href="/static/css/g.css">
    <link rel="stylesheet" href="/static/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/static/css/common.css">
    <link rel="stylesheet" type="text/css" href="/static/css/folder.css">
    <link rel="stylesheet" type="text/css" href="/static/css/global.css">
	<link rel="stylesheet" type="text/css" href="/static/css/filelist.css">
	<style type="text/css">
		.tipspan{
			font-size:12px;
		}
		.r-info{
			font-size:12px;
			color:green;
		}
		.del-class{
			display: none;
		}
		#uploadProcessbarTB tr td{
			padding:5px 0;
			border-bottom:solid 1px #eee;
		}
		#upDownloadAgainWindow{
			font-size:12px;
		}
		.tag{
		  position: absolute;
		  right: 0;
		  top: -5px;
		  background: red;
		  color: #fff;
		  border-radius: 10px;
		  display: none;
		  height: 10px;
		  min-width: 10px;
		  line-height: 10px;
		  padding: 3px;
		  text-align: center;
		}
		.select-top:hover input{color:#2382d8;}
		.select-top:hover i.folder-arrowDown{background-position:-77px -46px;}
	</style>
</head>
<body>
<input type="hidden" id="h_dsType" value="2">
<input type="hidden" id="h_path">
<input type="hidden" id="h_abDir">
<input type="hidden" id="h_dsId">
<input type="hidden" id="h_version">
<input type="hidden" id="h_bartd_id">
<input type="hidden" id="h_nid">
<input type="hidden" id="h_whichGetModel">
<input type="hidden" id="h_dsSecurityRank">
    <div class="popup border-blue prelative">
		<!-- <div class="folder-header">
			<h2 class="fl"><i class="inline-block folder-toolbar-icon folder-logo"></i>易备安文件夹同步配置管理</h2>
			<span class="fr">
				<a href="#"><i class="inline-block folder-toolbar-icon folder-lock"></i></a>
				<a href="#"><i class="inline-block folder-toolbar-icon folder-min"></i></a>
				<a href="#"><i class="inline-block folder-toolbar-icon folder-max"></i></a>
			</span>
		</div> -->
		<div class="folder-mainbody">
			<div class="fl folder-left">
				<ul id="treeDemo" class="ztree"></ul>
			</div>
			<div class="fr folder-right">
				<p class="folder-loc g-pl15">数据保险箱：<span id="currentPath">\</span></p>
				<div class="folder-toolbar g-pl15">
					<div class="fl">
						<!-- <a href="javascript:window.history.go(-1);"><i class="inline-block folder-toolbar-icon folder-arrowBack"></i>回退</a> -->
						<a class="fun-btn" href="javascript:showDialog('createFolderWindow')"><i class="inline-block folder-toolbar-icon folder-add"></i>新建文件夹</a>
						<!-- <a class="fun-btn" href="javascript:importFunc()"><i class="inline-block folder-toolbar-icon folder-add"></i>导入</a> -->
						<div class="select-box inline-block g-ml5">
							<div class="select-top" style="width:62px;"><input type="text" class="select-input fl c8c8c8c unhide" readonly = "readonly" style="width: 50px;  cursor:pointer" value="导入" size="2"><i class="fr inline-block folder-toolbar-icon folder-arrowDown unhide" id="folder-arrowDown"></i></div>
							<div class="select-bot" style="min-width: 66px;">
								<ul>
									<li id="j-openFile">文件</li>
									<li id="j-openFolder">文件夹</li>
								</ul>
							</div>
						</div>
						<a class="fun-btn" href="javascript:parentNode()"><i class="inline-block folder-toolbar-icon folder-arrowUp"></i>向上</a>
						<a class="fun-btn" href="javascript:nodeReload()"><i class="inline-block folder-toolbar-icon folder-refresh"></i>刷新</a>
					</div>
				</div>
				<div style="background: #F4F4F4;">
					<table class="folder-table" cellpadding="0" cellspacing="0" style="width: 733px;">
						<thead>
							<tr>
								<th width="93"></th>
								<th width="157" class="g-al">文件名</th>
								<th width="93">状态</th>
								<th width="92">文件类型</th>
								<th width="111">文件大小</th>
								<!-- <th width="9%"></th> -->
								<th width="102"></th>
								<th width="102"></th>
							</tr>
						</thead>
					</table>
				</div>
				<div class="folder-scroll" style="height: 512px;">
					<table id = "j-table" class="folder-table" cellpadding="0" cellspacing="0" style="width: 733px;">
						<tbody id="tbody">
							<tr>
								<td colspan="7">加载中...</td>
							</tr>
						</tbody>

					</table>
				</div>
			</div>
		</div>
		<div class="bottom-remark">
			<span class="fl"><!-- 当前1000个文件，累计222个版本 --></span>
			<span style="cursor:pointer;position: relative;" class="fr g-ml10" onclick="javascript:showDownloadBar();">
				<i class="inline-block folder-icon folder-historyload"></i>历史下载记录...
				<span class="tag j-tag" style="color:red;">0</span>
				<span class="tag" id="download_process_tag">0</span>
			</span>
			<span style="cursor:pointer;position: relative;" class="fr g-ml10" onclick="javascript:showUploadBar();">
				<i class="inline-block folder-icon folder-historyload"></i>历史上传记录...
				<span class="tag j-tag" style="color:red;">0</span>
				<span class="tag" id="upload_process_tag">0</span>
			</span>
			<span style="cursor:pointer;position: relative;" class="fr g-ml10" onclick="javascript:showUpDownloadFaileds(0);">
				<i class="inline-block folder-icon folder-upload"></i>上传失败记录...
				<span class="tag j-tag" style="color:red;">0</span>
				<span class="tag" id="upload_failed_tag">0</span>
			</span>
			<span style="cursor:pointer;position: relative;" class="fr" onclick="javascript:showUpDownloadFaileds(1);">
				<i class="inline-block folder-icon folder-download"></i>下载失败记录...
				<span class="tag j-tag" style="color:red;">0</span>
				<span class="tag" id="download_failed_tag">0</span>
			</span>
		</div>
    </div>
    	<script src="/static/js/plugin/jquery-1.9.1.min.js" type="text/javascript"></script>
    	<script src="/static/js/plugin/plugins.js" type="text/javascript"></script>
	    <script src="/static/js/data/ajax.js" type="text/javascript"></script>
	    <script src="/static/js/data/ebeim.js" type="text/javascript"></script>
	    <script src="/static/js/data/ebeimservice.js" type="text/javascript"></script>
	    <script src="/static/js/logic/folder.js"></script>
        <script src="/static/js/plugin/jquery.ztree.core-3.5.js" type="text/javascript"></script>
        <script src="/static/js/logic/client_safeBox.js" type="text/javascript"></script>
        <script src="/static/js/data/global.js"></script>
        <script src="/static/js/logic/up_download_again.js" type="text/javascript"></script>
<div class="shadowDiv" id="versionWindow_shadowDiv"></div>
<div class="dialogDiv" id="versionWindow" style="width:450px;height:350px">
	<div class="dialogTipDiv">版本<span class="dialogTipContentSpan">恢复</span></div>
	<div class="dialogContentDiv" style="height:250px;overflow-y:auto;">
		<ul class="filechangelog-ul"></ul>
	</div>
	<div class="dialogOprtDiv">
		<!-- <button onclick=";" class="btn green">确定</button> -->
		<button onclick="hideDialog('versionWindow')" class="btn btn-default">取消</button>
	</div>
</div>

<div class="shadowDiv" id="upDownloadAgainWindow_shadowDiv"></div>
<div class="dialogDiv" id="upDownloadAgainWindow" style="width:700px;height:350px;">
	<div class="dialogTipDiv"><span class="dialogTipContentSpan">记录</span></div>
	<div class="dialogContentDiv" style="height:250px;overflow-y:auto;">
		<table id="upDownloadAgainTB" style="width:100%" border="0">
			
		</table>
	</div>
	<div class="dialogOprtDiv" tryAgainType="">
		<div id="fenye" class="grid-page clearfix" style="display: inline-block;font-size:12px; line-height:29px; float:left;">
			<div id="r-info" class="page-right fr">
				<a href="javascript:;" class="j-page-first">首页</a>
				<a href="javascript:;" class="j-page-prev"><i class="i-arrow-left"></i>上一页</a>					
				<span>第<input type="text" value="1" style="width:30px; margin:0 5px; text-align:center;"  id="w-page">页</span>
				<a href="javascript:;" class="j-page-next"><em>下一页</em><i class="i-arrow-right"></i></a>
				<a href="javascript:;" class="j-page-last">尾页</a>
			</div>
			<div id="l-info" class="page-right fr" style="margin-right:10px;">
				当前页(<span id="c-page"></span>/
				<span id="t-page"></span>)页
			</div>
		</div>
		<button id="tryAgainBtn" onclick="tryAgain()" class="btn btn-default">重新传输</button>
		<button class="j-unclear btn btn-default" style="background:#666; cursor:default;">清空</button>
		<button id="clearBtn" onclick="deleteFaileds(2)" class="j-clear btn btn-default" style="display:none;">清空</button>
		<button onclick="hideDialog('upDownloadAgainWindow')" class="btn btn-default">取消</button>
	</div>
</div>

<div class="shadowDiv" id="uploadWindow_shadowDiv"></div>
<div class="dialogDiv" id="uploadWindow" style="width:700px;height:350px;">
	<div class="dialogTipDiv">上传<span class="dialogTipContentSpan">进度</span></div>
	<div class="dialogContentDiv" style="height:250px;overflow-y:auto;">
		<table id="importingWindowTB" style="width:100%" border="0">
			
		</table>
		<table id="uploadProcessbarTB" style="width:100%" border="0">
			
		</table>
	</div>
	<div class="dialogOprtDiv">
		<button class="j-undeleteUp btn btn-default" style="background:#666; cursor:default;">清除</button>
		<button onclick="setUable(),deleteUploadBar(),deleteImporting()" class="btn j-deleteUp btn-default" style="display:none;">清除</button>
		<button onclick="hideDialog('uploadWindow')" class="btn btn-default">隐藏</button>
	</div>
</div>

<div class="shadowDiv" id="downloadWindow_shadowDiv"></div>
<div class="dialogDiv" id="downloadWindow" style="width:700px;height:350px;">
	<div class="dialogTipDiv">下载<span class="dialogTipContentSpan">进度</span></div>
	<div class="dialogContentDiv" style="height:250px;overflow-y:auto;">
		<table id="downloadProcessbarTB" style="width:100%" border="0">
			
		</table>
	</div>
	<div class="dialogOprtDiv">
		<button class="j-undeleteDown btn btn-default" style="background:#666; cursor:default;">清除</button>
		<button onclick="deleteDownloadBar()" class="btn j-deleteDown btn-default" style="display:none;">清除</button>
		<button onclick="hideDialog('downloadWindow')" class="btn btn-default">隐藏</button>
	</div>
</div>

<div class="shadowDiv" id="createFolderWindow_shadowDiv"></div>
<div class="dialogDiv" id="createFolderWindow" style="">
	<div class="dialogTipDiv">新建<span class="dialogTipContentSpan">文件夹</span></div>
	<div class="dialogContentDiv">
		名称：<input type="text" id="folderName" value="" style="width:216px;" />
	</div>
	<div class="dialogOprtDiv">
		<button onclick="createFolder()" class="btn btn-default">确定</button>
		<button onclick="hideDialog('createFolderWindow')" class="btn btn-default">取消</button>
	</div>
</div>

<div class="window">
	<div class="w-head">
		<table width="96%" align="center">
			<tr>
				<td width="17%" >请选择路径</td>
				<td width="63%"><input id="ab-dir" typr="text"/></td>
				<td width="20%" style="text-align:center"><button class="btn btn-default" onclick="selectParentPath()">返回上一级</button></td>
			</tr>
		</table>
	</div>
	<div class="w-dir-tree">
		<ul id="pathTree" class="ztree"></ul>
	</div>
	<div class="w-dir-list">
		<ul>
		</ul>
	</div>
	<div class="w-dir-confirm">
		<button class="btn btn-default cancel" onclick="cancelDir()">取消</button>
		<button id="confirmBtn" class="btn btn-success" onclick="confirmDir()">确定</button>
	</div>
</div>

</body>
</html>
